package com.example.entry.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

// 用来接收前端登录传递的账号密码
// 代理模式，增加token进行身份验证
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserDto {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Integer sex;
    private String phone;
    private String address;
    private String email;
    private Float money;
    private String avatarUrl;
    private Integer status;
    private Integer isRider;
    private Integer isDel;
    private String token;
}
